import Mock from 'mockjs'


Mock.setup({
    timeout: 1500
})

Mock.mock('/getList', {
    list: [
        {
          icon: "location-o",
          title: "地址",
          flag: true
        },
        {
          icon: "like-o",
          title: "喜欢",
          flag: true
        },
        {
          icon: "star-o",
          title: "收藏",
          flag: true
        },
        {
          icon: "phone-o",
          title: "电话",
          flag: true
        },
        {
          icon: "gift-o",
          title: "礼物",
          flag: false
        },
        {
          icon: "friends-o",
          title: "朋友",
          flag: false
        },
        {
          icon: "cart-o",
          title: "购物",
          flag: false
        },
        {
          icon: "setting-o",
          title: "设置",
          flag: false
        },
        {
          icon: "coupon-o",
          title: "更多",
          flag: true,
          auth: true
        },
      ]
})